package com.tz.system.menu.model;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_sys_menu")
public class TSysMenu implements java.io.Serializable {

	private Integer id;
	private String menuCode;
	private String menuName;
	private String upMenuCode;
	private String menuPage;
	private Integer menuLevel;
	private String visible;
	private String sort;
	private String cssClass;

	private String creator;
	private Long createTime;
	private String mender;
	private Long mendTime;
	private String remark;

	public TSysMenu() {
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "MENU_CODE")
	public String getMenuCode() {
		return this.menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	@Column(name = "MENU_NAME")
	public String getMenuName() {
		return this.menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	@Column(name = "UP_MENU_CODE")
	public String getUpMenuCode() {
		return this.upMenuCode;
	}

	public void setUpMenuCode(String upMenuCode) {
		this.upMenuCode = upMenuCode;
	}

	@Column(name = "MENU_PAGE")
	public String getMenuPage() {
		return this.menuPage;
	}

	public void setMenuPage(String menuPage) {
		this.menuPage = menuPage;
	}

	@Column(name = "MENU_LEVEL")
	public Integer getMenuLevel() {
		return this.menuLevel;
	}

	public void setMenuLevel(Integer menuLevel) {
		this.menuLevel = menuLevel;
	}

	@Column(name = "VISIBLE")
	public String getVisible() {
		return this.visible;
	}

	public void setVisible(String visible) {
		this.visible = visible;
	}

	@Column(name = "SORT")
	public String getSort() {
		return this.sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	@Column(name = "CSS_CLASS")
	public String getCssClass() {
		return this.cssClass;
	}

	public void setCssClass(String cssClass) {
		this.cssClass = cssClass;
	}

	@Column(name = "CREATOR")
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "CREATE_TIME")
	public Long getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Column(name = "MENDER")
	public String getMender() {
		return this.mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	@Column(name = "MEND_TIME")
	public Long getMendTime() {
		return this.mendTime;
	}

	public void setMendTime(Long mendTime) {
		this.mendTime = mendTime;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
